<!--{include /service/service_head}-->

<!-- End #sidebar -->
	<div id="main-content">
		<!-- Main Content Section with everything -->
		<!-- Page Head -->
		<!-- End .clear -->
		<div class="search_box clearfix">
			<form action="/service/bookDelList.php" id="indexform" method="get">
		      <input type="text" name="search_date" value="{$year}-${sprintf("%02d",$month)}-${sprintf("%02d",$day)}" onfocus="WdatePicker({lang:'jp'})" class="Wdate"/>
		      <input type="submit" name="" value="検索" class="button"/>
		    </form>
		</div>
		<div class="content-box">
			<!-- Start Content Box -->
			<div class="content-box-header">
				<h3>予約削除リスト</h3>
				<ul class="content-box-tabs" style="display:none;">
					<li><a href="#tab1" class="default-tab">详细</a></li>

					<!-- href must be unique and match the id of target div -->
					<li><a href="#tab2">编辑</a></li>
				</ul>
				<div class="clear"></div>
			</div>
			<!-- End .content-box-header -->
			<div class="content-box-content">
				<div class="tab-content default-tab" id="tab1">

					<!-- This is the target div. id must match the href of this div's tab -->
					<div class="table_box">
						<table>
						<thead class="title_head">
							<tr>
								<th class="title">お客様</th>
								<th class="title">予約コース</th>
								<th class="title">予約開始時間</th>

								<th class="title">予約終了時間</th>
								<th class="title">実際終了時間</th>
								<th class="title">指名</th>
								<th class="title">担当スタッフ</th>
								<th class="title">整備</th>
								<th class="title">削除者</th>

								<th class="title">削除時間</th>
							</tr>
						</thead>
						<tbody>
							<!--{loop $bookedList $index $one}-->
							<tr>
								<?php
									$tempUser = Users::GetUser($one['user_id']);
								$tempService = Service::GetById($one['service_id']);
								$tempStaff = Staff::getById($one['designation_stuff']);
								$tempDevice = Devices::GetById($one['device_id']);
								$opUser = Users::GetUser($one['op_id']);
							?>
								<td> {$tempUser['family_name']} {$tempUser['personal_name']} </td>
								<td> {$tempService['service_name']} </td>
								<td> ${date("y-d-m H:i", $one['service_start_time'])} </td>
								<td> ${date("y-d-m H:i", $one['service_end_time'])} </td>
								<td> ${date("y-d-m H:i", $one['real_end_time'])} </td>
								<td><!--{if $one['designation']==0}--> 
								指名なし 
								<!--{else}--> 
								指名 
								<!--{/if}--></td>
								<td> {$tempStaff['family_name']} {$$tempStaff['personal_name']} </td>
								<td> {$tempDevice['device_name']} </td>
								<td><!--{if $one['op_id']==$one['user_id']}--> 
								お客様自分 
								<!--{else}--> 
								{$opUser['family_name']} {$opUser['personal_name']} 
								<!--{/if}--></td>
								<td> ${date("y-d-m H:i", $one['create_time'])} </td>
							</tr>
							<!--{/loop}-->
						</tbody>
					</table>
					</div>
					<div style="display:none;">

					<table>
							<tr>
								<td colspan="7"><div class="pagination"> <a href="#" title="First Page">&laquo; First</a><a href="#" title="Previous Page">&laquo; Previous</a> <a href="#" class="number" title="1">1</a> <a href="#" class="number" title="2">2</a> <a href="#" class="number current" title="3">3</a> <a href="#" class="number" title="4">4</a> <a href="#" title="Next Page">Next &raquo;</a><a href="#" title="Last Page">Last &raquo;</a> </div>

									<!-- End .pagination -->
									<div class="clear"></div></td>
							</tr>
							</table>
					</div>
				</div>
			</div>
			<!-- End .content-box-content -->
		</div>

		<!-- End .content-box -->
		<!-- End .content-box -->
		<!-- End .content-box -->
		<div class="clear"></div>
		<!-- Start Notifications -->
		<!-- End Notifications -->
		<div id="footer"> <small>
			<!-- Remove this notice or replace it with whatever you want -->

			&#169; Copyright 2011 川崎エステ　エレガントリゾート　すべての女性を美しく幸せに | Powered by <a href="#">ZHONGHUA</a> | <a href="#">Top</a> </small> </div>
		<!-- End #footer -->
	</div>
	<!-- End #main-content -->
</div>

</body>
<!-- Download From www.exet.tk-->
</html>

